home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>11.11.  Stretch Contrast</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-imagewindow-menus-colors.html" title="11.  The “Colors” Menu" />
- <link rel="prev" href="plug-in-normalize.html" title="11.10.  Normalize" />
- <link rel="next" href="plug-in-autostretch-hsv.html" title="11.12.  Stretch HSV" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">11.11. 
- <span lang="en" xml:lang="en">Stretch Contrast</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="plug-in-normalize.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">11. 
- <span lang="en" xml:lang="en">The “<span class="quote">Colors</span>” Menu</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="plug-in-autostretch-hsv.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="plug-in-c-astretch"></a>11.11. 
- <span lang="en" xml:lang="en">Stretch Contrast</span>
- </h3>
- </div>
- <div>
- <div class="revhistory">
- <table border="1" width="100%" summary="Revision history">
- <tr>
- <th align="left" valign="top" colspan="3">
- <b>Revision History</b>
- </th>
- </tr>
- <tr>
- <td align="left">Revision $Revision: 2315 $</td>
- <td align="left">2007-10-17</td>
- <td align="left">ude</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2718280" class="indexterm"></a>
- <a id="id2718295" class="indexterm"></a>
- <a id="id2718304" class="indexterm"></a>
- <p>
- The <span class="guimenuitem">Stretch Contrast</span> command automatically
- stretches the histogram values in the active layer. For each channel
- of the active layer, it finds the minimum and maximum values and uses
- them to stretch the Red, Green and Blue histograms to the full contrast
- range. The bright colors become brighter and the dark colors become
- darker, which increases the contrast.
- This command produces a somewhat similar effect to the
- <a class="link" href="plug-in-normalize.html" title="11.10.  Normalize">Normalize</a> command, except that
- it works on each color channel of the layer individually. This usually
- leads to color shifts in the image, so it may not produce the desired
- result. “<span class="quote">Stretch Contrast</span>” works on layers of RGB,
- Grayscale and Indexed images. Use “<span class="quote">Stretch Contrast</span>” only
- if you want to remove an undesirable color tint from an image which
- should contain pure white and pure black.
- </p>
- <p>
- This command is also similar to the
- <a class="link" href="gimp-layer-white-balance.html" title="11.8.  White Balance">Color Balance</a>
- command, but it does not reject any of the very dark or very bright
- pixels, so the white might be impure.
- </p>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2718368"></a>11.11.1. 
- <span lang="en" xml:lang="en">Activate Command</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- This command can be accessed from an image menubar as
- <span class="guimenu"><span class="accel">C</span>olors</span> → <span class="guisubmenu"><span class="accel">A</span>uto</span> → <span class="guimenuitem"><span class="accel">S</span>tretch Contrast</span>.
- </p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2718422"></a>11.11.2. 
- <span lang="en" xml:lang="en">“<span class="quote">Stretch Contrast</span>” Example</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2718436"></a>
- <p class="title">
- <b>Figure 15.145. 
- <span lang="en" xml:lang="en">Original image</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/alice.png" alt="Original image" />
- <div class="caption">
- <p>
- The layer and its Red, Green and Blue histograms before
- “<span class="quote">Stretch Contrast</span>”.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="figure">
- <a id="id2718476"></a>
- <p class="title">
- <b>Figure 15.146. 
- <span lang="en" xml:lang="en">Image after the command</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/c-stretch.png" alt="Image after the command" />
- <div class="caption">
- <p>
- The layer and its Red and Green and Blue histograms after
- “<span class="quote">Stretch Contrast</span>”.
- The pixel columns do not reach the right end of the histogram
- (255) because of a few very bright pixels, unlike
- “<span class="quote">White Balance</span>”.
- </p>
- <p>
- Histogram stretching creates gaps between the pixel columns,
- giving it a striped look.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="plug-in-normalize.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-imagewindow-menus-colors.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="plug-in-autostretch-hsv.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="plug-in-normalize.html">11.10. 
- <span lang="en" xml:lang="en">Normalize</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="plug-in-autostretch-hsv.html">11.12. 
- <span lang="en" xml:lang="en">Stretch HSV</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-